<?php

namespace App\Http\Controllers;


class HelpController extends Controller
{
    public function page()
    {
        $types = [
            '地区' => 'area',
            'Banner' => 'banner',
            '友链' => 'blogroll',
            '模块' => 'module',
            '分类' => 'classify',
            '信息' => 'info',
            '碎片' => 'debris',
            '关键词' => 'keyword',
            '内容区块' => 'section',
            '搜索记录' => 'search_record',
        ];

        $name = request()->route('name');
        return view('miya::_help', ['name' => $name, 'types' => $types]);
    }
}
